﻿<!doctype html>
<html class="no-js" lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">

<head th:replace="~{/public::public-head}">
</head>

<link rel="stylesheet" type="text/css" th:href="@{/css/plugins/authTree.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/css/plugins/iconfont.css}" />

<body class="template-color-1">

    <div id="main-wrapper">

        <div th:insert="~{/public::navigate}"></div>
        <div style="height: 100px; border-bottom: 1px solid #e2e4ea"></div>

        <!-- Dashboard Content Section Start -->
        <div class="dashboard-content-section section bg_color--5">
            <div class="container-fluid p-0">
                <div class="row no-gutters">
                    <!-- 侧边栏 -->
                    <div th:replace="~{/public::sidebar(active='authorityManagement')}"></div>

                    <!-- 主要部分 -->
                    <div class="col-xl-10 col-lg-9">

                        <div id="forbidden" hidden> 当前账号已被限制使用 </div>
                        <div class="dashboard-main-inner">
                            <div class="row">
                                <div class="col-12">
                                    <div class="page-breadcrumb-content mb-40">
                                        <h1>权限管理</h1>
                                    </div>
                                    <div sec:authentication="authorities" hidden id="authorities"></div>
                                    <span  sec:authorize="isAuthenticated()" sec:authentication="principal.accountStatus"
                                           type="text" id="accountStatus" hidden></span>
                                </div>
                            </div>

                            <ul class="nav nav-pills mb-3" id="roleList" role="tablist"
                                style="margin-left: 120px;">
                            </ul>

                            <div class="tree" style="padding-top: 20px;">
                            </div>

                            <div class="row" style="margin-top: 40px;">
                                <button class="btn btn-success" id="save" style="margin: auto;">保存</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div th:insert="~{/public::footer}"></div>
    </div>

    <div th:replace="~{/public::public-js}"></div>

    <script th:src="@{http://libs.baidu.com/jquery/2.0.0/jquery.min.js}"></script>
    <script th:src="@{/js/plugins/leg-tree.js}" type="text/javascript" charset="utf-8"></script>
    <script th:src="@{/js/myjob/account/authorityManagement.js}" type="text/javascript" charset="utf-8"></script>

</body>
</html>
